JSONC

JSONC output format. Uses Jankson and codecs to parse the jsonc to/from the TOML used internally. Comments will be automatically carried over from any @Comment or @TomlComment annotations applied.

Note that this is using the same json5 codec, which by default is set to mimic jsonc structure (quoted keys, no trailing comma, only json data structs).

Author

fzzyhmstrs

Since

0.6.7

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun decode(input: String): ValidationResult<TomlElement>
Link copied to clipboard
fun encode(input: TomlElement): ValidationResult<String>
Link copied to clipboard
fun suffix(): String